﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AD5 RID: 2773
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchBoxingClubOpponentCsReq : IMessage<MatchBoxingClubOpponentCsReq>, IMessage, IEquatable<MatchBoxingClubOpponentCsReq>, IDeepCloneable<MatchBoxingClubOpponentCsReq>, IBufferMessage
	{
		// Token: 0x170022FD RID: 8957
		// (get) Token: 0x06007C13 RID: 31763 RVA: 0x0014B2BF File Offset: 0x001494BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchBoxingClubOpponentCsReq> Parser
		{
			get
			{
				return MatchBoxingClubOpponentCsReq._parser;
			}
		}

		// Token: 0x170022FE RID: 8958
		// (get) Token: 0x06007C14 RID: 31764 RVA: 0x0014B2C6 File Offset: 0x001494C6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchBoxingClubOpponentCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022FF RID: 8959
		// (get) Token: 0x06007C15 RID: 31765 RVA: 0x0014B2D8 File Offset: 0x001494D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchBoxingClubOpponentCsReq.Descriptor;
			}
		}

		// Token: 0x06007C16 RID: 31766 RVA: 0x0014B2DF File Offset: 0x001494DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchBoxingClubOpponentCsReq()
		{
		}

		// Token: 0x06007C17 RID: 31767 RVA: 0x0014B300 File Offset: 0x00149500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchBoxingClubOpponentCsReq(MatchBoxingClubOpponentCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this.gPPHJGGFMCB_ = other.gPPHJGGFMCB_.Clone();
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007C18 RID: 31768 RVA: 0x0014B352 File Offset: 0x00149552
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchBoxingClubOpponentCsReq Clone()
		{
			return new MatchBoxingClubOpponentCsReq(this);
		}

		// Token: 0x17002300 RID: 8960
		// (get) Token: 0x06007C19 RID: 31769 RVA: 0x0014B35A File Offset: 0x0014955A
		// (set) Token: 0x06007C1A RID: 31770 RVA: 0x0014B362 File Offset: 0x00149562
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x17002301 RID: 8961
		// (get) Token: 0x06007C1B RID: 31771 RVA: 0x0014B36B File Offset: 0x0014956B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<CBIEELKJMGL> GPPHJGGFMCB
		{
			get
			{
				return this.gPPHJGGFMCB_;
			}
		}

		// Token: 0x17002302 RID: 8962
		// (get) Token: 0x06007C1C RID: 31772 RVA: 0x0014B373 File Offset: 0x00149573
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x06007C1D RID: 31773 RVA: 0x0014B37B File Offset: 0x0014957B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchBoxingClubOpponentCsReq);
		}

		// Token: 0x06007C1E RID: 31774 RVA: 0x0014B38C File Offset: 0x0014958C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchBoxingClubOpponentCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && this.gPPHJGGFMCB_.Equals(other.gPPHJGGFMCB_) && this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007C1F RID: 31775 RVA: 0x0014B3F0 File Offset: 0x001495F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			num ^= this.gPPHJGGFMCB_.GetHashCode();
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007C20 RID: 31776 RVA: 0x0014B44B File Offset: 0x0014964B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007C21 RID: 31777 RVA: 0x0014B453 File Offset: 0x00149653
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007C22 RID: 31778 RVA: 0x0014B45C File Offset: 0x0014965C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gPPHJGGFMCB_.WriteTo(ref output, MatchBoxingClubOpponentCsReq._repeated_gPPHJGGFMCB_codec);
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.ChallengeId);
			}
			this.avatarList_.WriteTo(ref output, MatchBoxingClubOpponentCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007C23 RID: 31779 RVA: 0x0014B4BC File Offset: 0x001496BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			num += this.gPPHJGGFMCB_.CalculateSize(MatchBoxingClubOpponentCsReq._repeated_gPPHJGGFMCB_codec);
			num += this.avatarList_.CalculateSize(MatchBoxingClubOpponentCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007C24 RID: 31780 RVA: 0x0014B520 File Offset: 0x00149720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchBoxingClubOpponentCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this.gPPHJGGFMCB_.Add(other.gPPHJGGFMCB_);
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007C25 RID: 31781 RVA: 0x0014B57E File Offset: 0x0014977E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007C26 RID: 31782 RVA: 0x0014B588 File Offset: 0x00149788
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 24U)
				{
					if (num == 10U)
					{
						this.gPPHJGGFMCB_.AddEntriesFrom(ref input, MatchBoxingClubOpponentCsReq._repeated_gPPHJGGFMCB_codec);
						continue;
					}
					if (num == 24U)
					{
						this.ChallengeId = input.ReadUInt32();
						continue;
					}
				}
				else if (num == 88U || num == 90U)
				{
					this.avatarList_.AddEntriesFrom(ref input, MatchBoxingClubOpponentCsReq._repeated_avatarList_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002F64 RID: 12132
		private static readonly MessageParser<MatchBoxingClubOpponentCsReq> _parser = new MessageParser<MatchBoxingClubOpponentCsReq>(() => new MatchBoxingClubOpponentCsReq());

		// Token: 0x04002F65 RID: 12133
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F66 RID: 12134
		public const int ChallengeIdFieldNumber = 3;

		// Token: 0x04002F67 RID: 12135
		private uint challengeId_;

		// Token: 0x04002F68 RID: 12136
		public const int GPPHJGGFMCBFieldNumber = 1;

		// Token: 0x04002F69 RID: 12137
		private static readonly FieldCodec<CBIEELKJMGL> _repeated_gPPHJGGFMCB_codec = FieldCodec.ForMessage<CBIEELKJMGL>(10U, CBIEELKJMGL.Parser);

		// Token: 0x04002F6A RID: 12138
		private readonly RepeatedField<CBIEELKJMGL> gPPHJGGFMCB_ = new RepeatedField<CBIEELKJMGL>();

		// Token: 0x04002F6B RID: 12139
		public const int AvatarListFieldNumber = 11;

		// Token: 0x04002F6C RID: 12140
		private static readonly FieldCodec<uint> _repeated_avatarList_codec = FieldCodec.ForUInt32(90U);

		// Token: 0x04002F6D RID: 12141
		private readonly RepeatedField<uint> avatarList_ = new RepeatedField<uint>();
	}
}
